package com.yunfei.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
@Controller
@SpringBootApplication
public class Springboot010130Application {

    public static void main(String[] args) {
        SpringApplication.run(Springboot010130Application.class, args);
    }
    @RequestMapping(value = "/springBoot")
    @ResponseBody
    public Object demo(){
        System.out.println("SpringBoot.....");

        return "SpringBoot.....";
    }

}
